package com.yuyou.tas.admin.mapper;

import com.yuyou.tas.service.api.admin.entity.AuthOrganizationSubSec;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AuthOrganizationSubSecMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AuthOrganizationSubSec record);

    AuthOrganizationSubSec selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthOrganizationSubSec record);

    void delAllByOrganId(@Param(value = "organId") Long organId);

    List<AuthOrganizationSubSec> getAllByOrganId(@Param(value = "organId")Long organId);
}